<template>
	<view>
		<!-- 分页 -->
		<view class="cutpage-container">
			<!-- <view class="load-more" @tap="loadBack">上一页</view> -->
			<view v-if="hasMore" class="load-more" @tap="loadNext">加载更多</view>
			<view v-else class="no-more">没有更多数据了</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"loadMore",
		data() {
			return {
				hasMore:true
			};
		}
	}
</script>

<style lang="scss" scoped>
	.no-more {
		color: #999;
	}
	
	.cutpage-container {
		padding: 10px;
		color: #026aef;
		display: flex;
		align-items: center;
		justify-content: center;
	}
</style>